package com.hkts.beltweigher.master.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hkts.beltweigher.master.entity.InstrumentControl;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hkts.beltweigher.master.entity.YbClassesAccumulate;
import com.hkts.beltweigher.utils.Result;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hml
 * @since 2024-04-19
 */
public interface IInstrumentControlService extends IService<InstrumentControl> {

        /**
         *  分页查询
         * @param bootStrapTable
         * @param instrumentControl
         * @return
         */
        IPage<InstrumentControl> selectPage(Page<InstrumentControl> page, InstrumentControl instrumentControl);

        List<InstrumentControl> selectList(InstrumentControl instrumentControl);

        Result<Object> updateStatus(InstrumentControl instrumentControl);

        Map<Integer, String> getInstrumentStatus();
}